package com.system.registrationPool.service;

import com.system.registrationPool.bean.RegistrationPoolList;
import com.system.registrationPool.vo.ConfirmInfoVO;
import com.system.registrationPool.vo.RegistrationPoolLstVO;

import java.util.List;

/**
 * @author 林
 */
public interface RegistrationPoolListService {
    boolean saveRegistrationPoolList(RegistrationPoolList registrationPoolList);
    boolean removeRegistrationPoolListById(int id);
    boolean modifyRegistrationPoolList(RegistrationPoolList registrationPoolList);
    RegistrationPoolList getRegistrationPoolListById(int id);
    List<RegistrationPoolList> listAllRegistrationPoolLists();
    List<RegistrationPoolList> findAllByPoolId(int poolId);

    List<RegistrationPoolList> findAllByArrangementId(int arrangementId);

    List<RegistrationPoolLstVO> findVoByArrangementId(int arrangementId);

    Integer findNumByArrangementId(int arrangementId);

    Integer findLockNumByArrangementId(int arrangementId);

    boolean lockNumber(Integer poolListId);

    boolean releaseNumber(Integer poolListId);

    String getTime(Integer poolListId);

    Integer getArrangementId(Integer poolListId);

    ConfirmInfoVO getDoctorInfo(Integer poolListId);
}
